/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.fleet.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;
import com.jeeplus.modules.fleet.entity.Motorcade;
import com.jeeplus.modules.fleet.mapper.MotorcadeMapper;

/**
 * 车队Service
 * @author sld
 * @version 2017-11-23
 */
@Service
@Transactional(readOnly = true)
public class MotorcadeService extends CrudService<MotorcadeMapper, Motorcade> {

	public Motorcade get(String id) {
		return super.get(id);
	}
	
	public List<Motorcade> findList(Motorcade motorcade) {
		return super.findList(motorcade);
	}
	
	public Page<Motorcade> findPage(Page<Motorcade> page, Motorcade motorcade) {
		return super.findPage(page, motorcade);
	}
	
	@Transactional(readOnly = false)
	public void save(Motorcade motorcade) {
		super.save(motorcade);
	}
	
	@Transactional(readOnly = false)
	public void delete(Motorcade motorcade) {
		super.delete(motorcade);
	}
	
}